/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
using System.Collections.Generic;

using Aliyun.Acs.Core;
using Aliyun.Acs.Core.Http;
using Aliyun.Acs.Core.Transform;
using Aliyun.Acs.Core.Utils;
using Aliyun.Acs.Sas;
using Aliyun.Acs.Sas.Transform;
using Aliyun.Acs.Sas.Transform.V20181203;

namespace Aliyun.Acs.Sas.Model.V20181203
{
    public class ListCheckInstanceResultRequest : RpcAcsRequest<ListCheckInstanceResultResponse>
    {
        public ListCheckInstanceResultRequest()
            : base("Sas", "2018-12-03", "ListCheckInstanceResult")
        {
            if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
            {
                this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Sas.Endpoint.endpointMap, null);
                this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Sas.Endpoint.endpointRegionalType, null);
            }
			Method = MethodType.POST;
        }

		private string regionIdKey;

		private int? pageSize;

		private string lang;

		private long? checkId;

		private int? currentPage;

		private List<string> sortTypess = new List<string>(){ };

		private string instanceIdKey;

		private string instanceNameKey;

		private List<string> instanceIdss = new List<string>(){ };

		private List<string> statusess = new List<string>(){ };

		public string RegionIdKey
		{
			get
			{
				return regionIdKey;
			}
			set	
			{
				regionIdKey = value;
				DictionaryUtil.Add(QueryParameters, "RegionIdKey", value);
			}
		}

		public int? PageSize
		{
			get
			{
				return pageSize;
			}
			set	
			{
				pageSize = value;
				DictionaryUtil.Add(QueryParameters, "PageSize", value.ToString());
			}
		}

		public string Lang
		{
			get
			{
				return lang;
			}
			set	
			{
				lang = value;
				DictionaryUtil.Add(QueryParameters, "Lang", value);
			}
		}

		public long? CheckId
		{
			get
			{
				return checkId;
			}
			set	
			{
				checkId = value;
				DictionaryUtil.Add(QueryParameters, "CheckId", value.ToString());
			}
		}

		public int? CurrentPage
		{
			get
			{
				return currentPage;
			}
			set	
			{
				currentPage = value;
				DictionaryUtil.Add(QueryParameters, "CurrentPage", value.ToString());
			}
		}

		public List<string> SortTypess
		{
			get
			{
				return sortTypess;
			}

			set
			{
				sortTypess = value;
			}
		}

		public string InstanceIdKey
		{
			get
			{
				return instanceIdKey;
			}
			set	
			{
				instanceIdKey = value;
				DictionaryUtil.Add(QueryParameters, "InstanceIdKey", value);
			}
		}

		public string InstanceNameKey
		{
			get
			{
				return instanceNameKey;
			}
			set	
			{
				instanceNameKey = value;
				DictionaryUtil.Add(QueryParameters, "InstanceNameKey", value);
			}
		}

		public List<string> InstanceIdss
		{
			get
			{
				return instanceIdss;
			}

			set
			{
				instanceIdss = value;
			}
		}

		public List<string> Statusess
		{
			get
			{
				return statusess;
			}

			set
			{
				statusess = value;
			}
		}

		public override bool CheckShowJsonItemName()
		{
			return false;
		}

        public override ListCheckInstanceResultResponse GetResponse(UnmarshallerContext unmarshallerContext)
        {
            return ListCheckInstanceResultResponseUnmarshaller.Unmarshall(unmarshallerContext);
        }
    }
}
